<!--SIF Implementation Specification 2.2-6 (March 17, 2008)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.sifinfo.org/infrastructure/2.x" xmlns:sif="http://www.sifinfo.org/infrastructure/2.x" elementFormDefault="qualified">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="imports/xml/xml.xsd" />
  <xs:complexType name="GradingAssignmentType">
    <xs:annotation>
      <xs:documentation>This object provides information about a particular assignment, allows applications to synchronize each other's assignment tables, gathers the definition for a GradingAssignmentScore object, etc.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Description" minOccurs="0" type="xs:string">
        <xs:annotation>
          <xs:documentation>The text-based description of the assignment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PointsPossible" minOccurs="0" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>The points possible on the assignment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CreateDate" minOccurs="0" nillable="true" type="xs:date">
        <xs:annotation>
          <xs:documentation>Creation date of the assignment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DueDate" minOccurs="0" nillable="true" type="xs:date">
        <xs:annotation>
          <xs:documentation>Date the assignment is due.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Weight" minOccurs="0" nillable="true" type="xs:decimal">
        <xs:annotation>
          <xs:documentation>The weight of the assignment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DetailedDescription" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:annotation>
            <xs:documentation>
								This element defines the assignment.  
								If the Type attribute is URL, this is the location of the document that describes the assignment.  
								If Type is PDF, this element will contain the Base64 encoding of the entire document.
							</xs:documentation>
          </xs:annotation>
          <xs:simpleContent>
            <xs:extension base="sif:URIOrBinaryTypeOrEmpty">
              <xs:attribute name="Type" use="required">
                <xs:annotation>
                  <xs:documentation>The type of information that is contained in the DetailedDescription element.</xs:documentation>
                </xs:annotation>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="URL" />
                    <xs:enumeration value="PDF" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="sif:SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="sif:SIF_ExtendedElementsType" />
    </xs:sequence>
    <xs:attribute name="RefId" use="required" type="sif:RefIdType">
      <xs:annotation>
        <xs:documentation>A GUID that identifies GradingAssignment.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SectionInfoRefId" use="required" type="sif:IdRefType">
      <xs:annotation>
        <xs:documentation>The GUID for the SectionInfo object.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TermInfoRefId" use="required" type="sif:IdRefType">
      <xs:annotation>
        <xs:documentation>The GUID for the TermInfo object that defines the marking period that the assignment was created in.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SchoolInfoRefId" use="required" type="sif:IdRefType">
      <xs:annotation>
        <xs:documentation>The ID (GUID) that uniquely identifies the School that these Mark Values apply to.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="GradingCategoryRefId" use="required" type="sif:IdRefType">
      <xs:annotation>
        <xs:documentation>The GUID for the GradingCategory that this assignment is part of.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="GradingAssignment" type="sif:GradingAssignmentType" />

</xs:schema>